package com.linghang.wusthelper.controller.lhstudio;

import com.linghang.wusthelper.common.ServerResponse;
import com.linghang.wusthelper.service.LhstudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author origin
 * 领航后台controller
 */
@RestController
@RequestMapping("lhstudio")
public class lhstudioController {

    @Autowired
    private LhstudioService lhstudioService;

    @PostMapping(value = "/login")
    public ServerResponse login(String stuNum,String password){
        return lhstudioService.login(stuNum,password);
    }


}
